 <div class="panel panel-default">
				  <!-- Default panel contents -->
				  <div class="panel-heading panel-heading1"><h1><?php echo $this->escapeHtml('Menu'); ?>(<?= $this->countMenu ?>)</h1>
					  <div id="addsp">
							  <a href="<?php echo $this->url('addmenu');?>" class="btn btn-primary"><i class="fa fa-plus-circle"></i>
							  Thêm loại menu</a>
					  </div>
				
				  </div>
					  <!-- Table -->
				  <table class="table table-striped">
				    <tr>
                   <th>ID</th><th>TÊN MENU</th><th>THỂ LOẠI</th><th>HÀNH ĐỘNG</th></tr>
                   <?php foreach ($this->menu as $menu) : ?>
				    <tr>
				    <td><?php echo $this->escapeHtml($menu->ID_M);?></td>
				    <td><a href="<?php echo $this->url($menu->ROUTE_M) ?>"><?php echo $this->escapeHtml($menu->LABEL_M);?></a></td>
				    <td><?= $menu->TYPE_M == 'B'?'Back end':'Front end';?></td>
				    <td class="action">
                    <div class="btn-group">
					  <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
					    Action <span class="caret"></span>
					  </button>
					  <ul class="dropdown-menu" role="menu">
					    <li><a href="<?php
					      $marTViet=array("à","á","ạ","ả","ã","â","ầ","ấ","ậ","ẩ","ẫ","ă",
					      		"ằ","ắ","ặ","ẳ","ẵ","è","é","ẹ","ẻ","ẽ","ê","ề",
					      		"ế","ệ","ể","ễ",
					      		"ì","í","ị","ỉ","ĩ",
					      		"ò","ó","ọ","ỏ","õ","ô","ồ","ố","ộ","ổ","ỗ","ơ",
					      		"ờ","ớ","ợ","ở","ỡ",
					      		"ù","ú","ụ","ủ","ũ","ư","ừ","ứ","ự","ử","ữ",
					      		"ỳ","ý","ỵ","ỷ","ỹ",
					      		"đ",
					      		"À","Á","Ạ","Ả","Ã","Â","Ầ","Ấ","Ậ","Ẩ","Ẫ","Ă",
					      		"Ằ","Ắ","Ặ","Ẳ","Ẵ",
					      		"È","É","Ẹ","Ẻ","Ẽ","Ê","Ề","Ế","Ệ","Ể","Ễ",
					      		"Ì","Í","Ị","Ỉ","Ĩ",
					      		"Ò","Ó","Ọ","Ỏ","Õ","Ô","Ồ","Ố","Ộ","Ổ","Ỗ","Ơ","Ờ","Ớ","Ợ","Ở","Ỡ",
					      		"Ù","Ú","Ụ","Ủ","Ũ","Ư","Ừ","Ứ","Ự","Ử","Ữ",
					      		"Ỳ","Ý","Ỵ","Ỷ","Ỹ",
					      		"Đ"," ","/",":","*","?","<",">","|",'"');
					      $marKoDau=array("a","a","a","a","a","a","a","a","a","a","a",
					      		"a","a","a","a","a","a",
					      		"e","e","e","e","e","e","e","e","e","e","e",
					      		"i","i","i","i","i",
					      		"o","o","o","o","o","o","o","o","o","o","o","o",
					      		"o","o","o","o","o",
					      		"u","u","u","u","u","u","u","u","u","u","u",
					      		"y","y","y","y","y",
					      		"d",
					      		"A","A","A","A","A","A","A","A","A","A","A","A",
					      		"A","A","A","A","A",
					      		"E","E","E","E","E","E","E","E","E","E","E",
					      		"I","I","I","I","I",
					      		"O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O",
					      		"U","U","U","U","U","U","U","U","U","U","U",
					      		"Y","Y","Y","Y","Y",
					      		"D","-","","","","","","","","");
					      
								      
					      echo  $this->url('listmenu/default',array('action'=>'edit', 'id' => $menu->ID_M)).'-'.str_replace($marTViet,$marKoDau,$this->escapeHtml($menu->LABEL_M)).".html";
					      ?>"><i class="fa fa-pencil"></i>EDIT</a>
                          
                           </li>
					    <li><a href="#" class="delete" id="<?= $menu->ID_M ?>"><i class="fa fa-trash-o"></i>DELETE</a></li>
					  </ul>
					  <input type="hidden" value="<?php echo $this->url('listmenu/default',
                           array('action'=>'delete', 'id' => $menu->ID_M));?>" id="urldelete<?= $menu->ID_M ?>"/>
					</div>
                    </td></tr>
                     <?php endforeach; ?>
				  </table>
				</div>